import http from '@/plugins/http/index';

//根据用户的sid查询用户的信息
export const loadUserBasicInfoBySidAPI = params => {
	return http.get(`/yjz-user/lawtrain/weixin/logonless/selectUserInfoBySid.do`, params).then(res => res);
};

// 获取用户信息
export const getUserInfoByUserId = params => {
	return http.get(`/yjz-user/lawtrain/pcUserInfo/selectUserInfoByUserId.do`, params);
};

////////////////////////////////////////////////

// 提交用户维护信息
export const updateUserInfoByUserIdAPI = params => {
	return http.post(`/yjz-user/lawtrain/pcUserInfo/updateUserInfoByUserId.do`, params).then(res => res);
};
